import request from 'src/utils/request'

export function cashbackcardlist(data) {
  return request({
    url: '/cash-back-card/index',
    method: 'post',
    data
  })
}

//获取基本配置参数
export function cashbackcardOptions(data) {
  return request({
    url: '/cash-back-card/get-config',
    method: 'post',
    data
  })
}

//修改减息卡状态
export function changeCashbackcardStatus(data) {
  return request({
    url: '/cash-back-card/change-status',
    method: 'post',
    data
  })
}

//添加减息卡

export function addCashbackcard(data) {
  return request({
    url: '/cash-back-card/create',
    method: 'post',
    data
  })
}
